package com.bw.a2209clubshop.ui.mall.view

import androidx.activity.viewModels

import com.bw.a2209clubshop.ui.mall.viewmodel.MallViewModel
import com.bw.a2209clubshop.R
import com.bw.a2209clubshop.base.BaseActivity
import com.bw.a2209clubshop.databinding.ActivityMallBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class MallActivity : BaseActivity<MallViewModel, ActivityMallBinding>() {
    private val viewModel: MallViewModel by viewModels()
    override val mLayoutResId: Int
        get()   = R.layout.activity_mall


    override fun initData() {
//        viewModel.cmallAdInfo()
    }

    override fun initListener() {
        //状态管理
//        addCommonStateListener(viewModel.mallAdInfoStateFlow)
//        viewModel.mallAdInfoLiveData.observe(this){
//            showToast(it.toString())
//        }
    }


}